
export const useGoods = defineStore("goods", {
    state: () => ({
        skuVisible: false,
        selectedSku: [],
        selectedService: [],
        addType: undefined as string | undefined,
    }),
    actions: {
        selectSku() {

        },
        selectService() {

        },
        addCart() {

        },
        buy() {

        },
        showSku(type?: string) {
            this.skuVisible = true
            this.addType = type
        },
        hideSku() {
            this.skuVisible = false
        }

    },
})

